package org.projects.graduates.domain;

public enum RepeatPointType {
	SUNDAY,MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY,
	// 一周内的某天
	ONEOFWEEK,
	// 一月内的某天
	ONEOFMONTH;
	
	public static RepeatPointType getStrBy(int num){
		for(RepeatPointType tt : RepeatPointType.values()){
			if(tt.ordinal() == num){
				return tt;
			}
		}
		return null;
	}
}
